<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
  <style>
    div{
      width:100px;
      height: 100px;
      border: 1px solid red;
    }
    span{
      border: 1px solid blue;
      display: block;/*强制转换成块级元素可以直接修改宽高*/
      width: 100px;
      height: 100px;
    }
    a{
      border: 1px solid green;
      width: 100px;/*要想修改超链接的宽高 必须修改显示方式*/
      height: 100px;
    }
    img{
      width: 100px;
      height: 100px;
    }
  </style>
</head>
<body>
<img src="../b.jpg" alt="">
<img src="../b.jpg" alt="">
<img src="../b.jpg" alt="">
<a href="">超链接</a>
<div>div1</div>
<div>div2</div>
<div>div3</div>
<span>span1</span>
<span>span2</span>
<span>span3</span>
</body>
</html>